package com.atguigu.dao;

import com.atguigu.pojo.DeployServiceModule;

import java.util.List;

public interface DeployServiceModuleDao {
    //每个方法中都带有所操作类的名字,为了以后看到这个方法,就知道是干什么的
    public int addDeployServiceModule(DeployServiceModule deployServiceModule);
    public int deleteDeployServiceModuleById(String id);
    public int updateDeployServiceModule(DeployServiceModule deployServiceModule);
    public DeployServiceModule queryDeployServiceModuleById(String id);
    public DeployServiceModule queryDeployServiceModuleByLastId(String lastId);
    public List<DeployServiceModule> queryDeployServiceModules();
    public List<DeployServiceModule> queryDeployServiceModulesByDeployGoalId(String deployGoalId);
    public Integer queryForPageTotalCount();
    public List<DeployServiceModule> queryForPageItems(Integer begin, Integer pageSize);
}
